package id.agung.wonogirimaps.util;

import android.util.Log;
import id.agung.wonogirimaps.BuildConfig;

public class Utils
{

	public static final String	API				= "http://api.pratamawijaya.com/wonogiri/api.php";
	public static final String	API_CATEGORY	= API + "?get=category";
	public static final String	API_LOCATION	= API + "?get=location&cat_id=";

	/**
	 * Method untuk debugging aplikasi
	 * 
	 * @param TAG
	 *            class dimana debugging dijalankan
	 * @param msg
	 *            pesan yang akan ditampilkan
	 */
	public static void TRACE(String TAG, String msg)
	{
		if (BuildConfig.DEBUG)
		{
			Log.d(TAG, msg);
		}
	}
}
